
# Copyright (c) 2010 Nokia Corporation.

QT       += core gui declarative

VERSION = 1.1.0

TARGET = qmultiwinexample
TEMPLATE = app

SOURCES += src/main.cpp \
        src/mainwindow.cpp \
        src/imageloader.cpp \
        src/imagewidget.cpp \
        src/keyeventlistener.cpp \
        src/myqtengine.cpp

HEADERS  += src/mainwindow.h \
         src/imageloader.h \
         src/imagewidget.h \
         src/keyeventlistener.h \
         src/myqtengine.h

RESOURCES += resources.qrc

OTHER_FILES += Main.qml \
    ListItem.qml

symbian {
    TARGET = QMultiWinExample
    TARGET.UID3 = 0xE8118bd5
    TARGET.EPOCHEAPSIZE = 0x100000 0x2000000
    TARGET.EPOCSTACKSIZE = 0x14000
}

maemo5 {
    isEmpty(PREFIX):PREFIX = /usr
    BINDIR = $$PREFIX/bin
    DATADIR = $$PREFIX/share
    DEFINES += DATADIR=\\\"$$DATADIR\\\" \
        PKGDATADIR=\\\"$$PKGDATADIR\\\"


    INSTALLS += target \
        desktop

    target.path = $$BINDIR
    desktop.path = $$DATADIR/applications/hildon
    desktop.files += src/qmultiwinexample.desktop
}
